-
Home
-
Classified Listing – Classified ads & Business Directory Plugin
-
3.1.18
-
Code
-
Classes
- BusinessHoursController
Total Complexity |
164 |
Dependencies |
5 |
Dependents |
2 |
Total lines |
574 |
Lines of code |
406 |
Logical lines of code |
227 |
Comment lines |
93 |
Methods |
20 |
Properties |
2 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sanitize_business_hours() |
C |
37 |
32 |
65 |
get_business_hours() |
B |
42 |
23 |
47 |
save_business_hours() |
B |
47 |
18 |
33 |
get_old_business_hours() |
A |
50 |
13 |
26 |
update_business_hours_at_save_or_update() |
A |
54 |
12 |
19 |
openStatus() |
A |
54 |
10 |
19 |
display_business_hours() |
A |
44 |
8 |
44 |
init() |
A |
49 |
9 |
26 |
openToday() |
S |
59 |
6 |
14 |
isOpen() |
S |
61 |
5 |
11 |
business_hours_form() |
S |
64 |
5 |
8 |
business_hours_meta_box() |
S |
63 |
5 |
9 |
openPeriod() |
S |
65 |
4 |
9 |
enqueue_admin_script() |
S |
62 |
3 |
11 |
register_script() |
S |
50 |
1 |
31 |
hasOpenHours() |
S |
67 |
3 |
8 |
isOpenAllDayLong() |
S |
70 |
3 |
6 |
enqueue_script() |
S |
72 |
2 |
6 |
add_meta_box_classes() |
S |
76 |
1 |
4 |
add_business_hours_meta_box() |
S |
65 |
1 |
10 |